package com.delu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * Created by zhangpk on 2021/12/19
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CouponVO {

    private Coupon coupon;
    private CouponType couponType;

    public CouponVO() {
    }

    public Coupon getCoupon() {
        return coupon;
    }

    public void setCoupon(Coupon coupon) {
        this.coupon = coupon;
    }

    public CouponType getCouponType() {
        return couponType;
    }

    public void setCouponType(CouponType couponType) {
        this.couponType = couponType;
    }

    public CouponVO(Coupon coupon, CouponType couponType) {
        this.coupon = coupon;
        this.couponType = couponType;
    }
}
